package com.wuyb.pojo.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * Id参数接收
 *
 * @Author: wyb
 * @Date: 2024/01/05/14:10
 * @Description:
 */
@Data
@ApiModel(description = "ID实体类")
public class IdParam {
    @ApiModelProperty(value = "id",required = true)
    @NotNull(message = "id不能为空")
    private Integer id;

}
